//
//  NetworkManager.h
//  OneStoreFramework
//  功能:网络管理
//  Created by Aimy on 14-6-29.
//  Copyright (c) 2014年 OneStore. All rights reserved.
//

#import <Foundation/Foundation.h>

@class NetworkOperationManager;

@interface NetworkManager : NSObject

+ (NetworkManager *)sharedInstance;

/**
 *  功能:产生一个operation manager,当owner销毁的时候一并销毁NetworkOperationManager
 */
- (NetworkOperationManager *)generateOperationMangerWithOwner:(id)owner;

/**
 *  功能:添加operation manager
 */
- (void)addOperationManger:(NetworkOperationManager *)aNetworkOperationManager;

/**
 *  功能:移除operation manager
 */
- (void)removeOperationManger:(NetworkOperationManager *)aNetworkOperationManager;

@end
